<?xml version="1.0" encoding="UTF-8"?>

<definitions id="definitions"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             targetNamespace="Examples">

    <process id="mocksTest"
             isExecutable="true">

        <startEvent id="theStart" />
        <sequenceFlow sourceRef="theStart"
                      targetRef="scriptTask" />

        <scriptTask id="scriptTask" scriptFormat="groovy">
            <incoming>scriptTask</incoming>
            <outgoing>waitState</outgoing>
            <script>myMock.testMethod execution, myMock.test</script>
        </scriptTask>
        <sequenceFlow sourceRef="scriptTask"
                      targetRef="waitState" />

        <userTask id="waitState" />
        <sequenceFlow sourceRef="waitState"
                      targetRef="end" />

        <endEvent id="end" />

    </process>

</definitions>